package edu.njfu.sas.util;

import com.mchange.v2.c3p0.ComboPooledDataSource;

import javax.sql.DataSource;


/**
 * @Classname C3p0Util
 * @Description TODO
 * @Date 2020/11/9 3:18 下午
 * @Created by lqj(1724226325@qq.com)
 */
public class C3p0Util {
    private static DataSource ds=null;
    static{
        ds = new ComboPooledDataSource("software18");
    }
    public static DataSource getConnection(){
        return  ds;
    }
}
